package org.demo.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yexi
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "department")
public class Department implements Serializable {
    @Id
    private Long deptNo;
    private String deptName;
    private String location;

}
